<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{$setting.webname}-在线课堂</title>
    <link rel="shortcut icon" href="/public/static/admin/uploads/set/{$setting['ico']}">
    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"/>
    <meta content="yes" name="apple-mobile-web-app-capable"/>
    <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
    <meta content="telephone=no" name="format-detection"/>

    <link type="text/css" rel="stylesheet" href="/public/static/home/themes/css/base.css">
    <link type="text/css" rel="stylesheet" href="/public/static/home/themes/css/home.css">
    <script type="text/javascript" src="/public/static/home/themes/js/jquery.min.js"></script>
    <script type="text/javascript" src="/public/static/home/themes/js/slider.js"></script>
    <script type="text/javascript" src="/public/static/home/themes/js/tab.js"></script>

</head>
<body>

<section class="aui-flexView">
    <header class="aui-navBar aui-navBar-fixed b-line">
        <a href="javascript:history.back(-1)" class="aui-navBar-item">
            <i class="icon icon-return"></i>
        </a>
        <div class="aui-center">
            <span class="aui-center-title">{$videotype_name.name}</span>
        </div>
        <a href="javascript:;" class="aui-navBar-item">
            <i class="icon icon-sys"></i>
        </a>
    </header>
    <section class="aui-scrollView">
        <div class="aui-watch-box">
            {foreach $video as $vs}
            <a href="{:url('Classroom/detail',['id'=>$vs.id,'tid'=>$tid])}" class="aui-flex b-line">
                {if condition="!empty($vs.video_cover)"}
                <div class="aui-branch-img">
                    <img src="{$vs.video_cover}" alt="" height="100%">
                </div>
                {/if}
                <div class="aui-flex-box">
                    <h2>{$vs.title}</h2>
                    <p>{$vs.description|mb_substr=###,0,18,"utf-8"}……</p>
                    <p>{$vs.create_time}</p>
                    <!--<div class="aui-watch-seep">-->
                    <!--    <div class="aui-watch-seep-die" style="width:80%"></div>-->
                    <!--</div>-->
                </div>
            </a>
            {/foreach}
            {$video->render()}
        </div>
    </section>
    {include file="public/footer"}
</section>

</body>
</html>